Repository navigation
fix(server): a Codex config warning shows once, not once per agent - #983
Merged
Merged
Conversation
Codex reports a stale config setting once as configWarning when the app server starts, then again as a warning for every thread it opens, subagents included. A thread with three subagents showed the same multi_agent deprecation five times. A Codex session now drops a plain config or runtime warning whose text it already showed. The config warning row also stops repeating its summary as its detail line.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A Codex thread with subagents showed the same config warning over and over. With
[features].multi_agent = truein~/.codex/config.toml, one thread with three subagents showed the deprecation warning five times: once asconfigWarningwhen the app server started, then once aswarningfor the main thread and once for each subagent. The config warning row also printed its summary twice, as the title and again as the detail line.Fix:
CodexAdapter: each session keeps the text of everyconfigWarningandwarningit has shown, and drops a repeat. Retry, guardian and stderr warnings are untouched.ProviderActivityProjection: a config warning gets a detail line only when Codex sends details that differ from the summary.Checks: fmt, lint, typecheck,
CodexAdapter.test,ProviderActivityProjection, and the replay suite (13/13; the recordedsubagentsession has this exact warning).